package com.zzz.demo.event;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;

/**
 * @author ZZZ
 * @version 1.0
 * @date 2018/12/28 0028
 */
public class ContentModifyEvent extends ApplicationEvent {
    /**
     * Logger for this class
     */
    private static final Logger logger = LoggerFactory.getLogger(ContentModifyEvent.class);

    private String message;

    public ContentModifyEvent(ApplicationContext source,String message) {
        super(source);
        this.message = message;

    }

    public String getMessage() {
        return message;
    }
}
